﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sucdri.Domain.Model;

namespace Sucdri.Domain.Interface
{
   public interface IUnitOfWork:IDisposable
   {
      void Commit();
      void RollBack();
      void RegisterNew(DomainEntity domainEntity);
      void RegisterDirty(DomainEntity domainEntity);
      void RegisterRemoved(DomainEntity domainEntity);
   }
}
